import {useCallback, useRef, useState} from 'react'
import Update from '@/components/update'
import logoVite from './assets/logo-vite.svg'
import logoElectron from './assets/logo-electron.svg'
import './App.scss'
import React from "react";
import ReactDOM from "react-dom";
import Menu from '@/components/menu'
import {useRoutes} from 'react-router-dom'
import routes from './router'


const App = () => {

  return (
    <div>
      {useRoutes(routes)}
    </div>
  )
}

export default App
